namespace MvcEnrollment.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class updateCourse : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Course", "createBy", c => c.String());
            AddColumn("dbo.Course", "createDate", c => c.DateTime(nullable: false));
            AddColumn("dbo.Course", "modifiedBy", c => c.String());
            AddColumn("dbo.Course", "modifiedDate", c => c.DateTime(nullable: false));
        }
        
        public override void Down()
        {
            DropColumn("dbo.Course", "modifiedDate");
            DropColumn("dbo.Course", "modifiedBy");
            DropColumn("dbo.Course", "createDate");
            DropColumn("dbo.Course", "createBy");
        }
    }
}
